package com.openway.game.personage.impl;

import com.openway.game.personage.AbstractGameObject;

/**
 * @author Created: 28.02.12 22:43
 * @version $Date$ $Revision$
 */
public class Lamp extends AbstractGameObject {
    //Each lamp illuminates a square around it with side length 2 * radius + 1
    public static final int DEFAULT_ILLUMINATION_RADIUS = 3;

    private int illuminationRadius;

    public Lamp() {
        illuminationRadius = DEFAULT_ILLUMINATION_RADIUS;
    }

    public Lamp(int illuminationRadius) {
        this.illuminationRadius = illuminationRadius;
    }

    public int getIlluminationRadius() {
        return illuminationRadius;
    }
}
